.text-center {
	text-align: center;
}

.font-13 {
	font-size: 13px;
}

.font-12 {
	font-size: 12px;
}

.font-11 {
	font-size: 11px;
}

.text-grey1 {
	color: #888;
}
.text-grey2 {
	color: #aaa;
}

.list-cell-arrow::before {
    content: ' ';
    height: 10px;
    width: 10px;
    border-width: 2px 2px 0 0;
    border-color: #c0c0c0;
    border-style: solid;
    -webkit-transform: matrix(0.5, 0.5, -0.5, 0.5, 0, 0);
    transform: matrix(0.5, 0.5, -0.5, 0.5, 0, 0);
    position: absolute;
    top: 50%;
    margin-top: -6px;
    right: 30rpx;
  }
  
  .list-cell {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    background-color: #fff;
    color: #333;
    padding: 26rpx 30rpx;
  }
  
  .list-cell:first-child {
    border-radius: 8rpx 8rpx 0 0;
  }
  
  .list-cell:last-child {
    border-radius: 0 0 8rpx 8rpx;
  }
  
  .list-cell::after {
    content: '';
    position: absolute;
    border-bottom: 1px solid #eaeef1;
    -webkit-transform: scaleY(0.5) translateZ(0);
    transform: scaleY(0.5) translateZ(0);
    transform-origin: 0 100%;
    bottom: 0;
    right: 0;
    left: 0;
    pointer-events: none;
  }
  
  
  .menu-list {
    margin: 15px 15px;
  
    .menu-item-box {
      width: 100%;
      display: flex;
      align-items: center;
  
      .menu-icon {
        color: #007AFF;
        font-size: 16px;
        margin-right: 5px;
      }
      
      .text-right {
        margin-left: auto;
        margin-right: 34rpx;
        color: #999;
      }
    }
  }
/* 微信小程序显示修复 */
page {
  height: 100%;
  background-color: #f7f7f7;
}

/* 确保页面容器可以正常滚动 */
.page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f7f7f7;
}

/* 修复底部导航栏遮挡问题 */
.tabbar-page {
  padding-bottom: 120rpx; /* 为底部导航栏留出空间 */
}

/* 确保内容区域可以正常滚动 */
.content-area {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

/* 修复固定定位元素被底部导航栏遮挡的问题 */
.fixed-bottom {
  bottom: 120rpx !important; /* 避免被底部导航栏遮挡 */
}

/* 修复滚动区域高度问题 */
.scroll-container {
  height: calc(100vh - 120rpx); /* 减去底部导航栏高度 */
  overflow-y: auto;
}

  /* 全局商品列表样式 */
  .goods-list {
    padding: 0 10px 70px 10px;
  }

  .goods-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
  }

  .goods-card {
    width: 48%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
  }

  .goods-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
  }

  .goods-info {
    flex: 1;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .goods-tags {
    margin-bottom: 4px;
  }

  .goods-tag {
    display: inline-block;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 8px;
    margin-right: 4px;
    margin-bottom: 2px;
    color: #fff;
  }

  .goods-tag.green { background: #4caf50; }
  .goods-tag.red { background: #f44336; }
  .goods-tag.orange { background: #ff9800; }
  .goods-tag.gold { background: #ffd700; color: #333; }

  .goods-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 2px;
    color: #222;
  }

  .goods-desc {
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
  }

  .goods-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .goods-price-line {
    display: flex;
    align-items: baseline;
    gap: 6px;
  }

  .price {
    color: #ff4d4f;
    font-size: 18px;
    font-weight: bold;
    margin-right: 6px;
  }

  .origin-price {
    color: #bbb;
    font-size: 12px;
    text-decoration: line-through;
  }

  .buy-btn {
    background: linear-gradient(90deg, #ffb3b3 0%, #ff4d4f 100%);
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 0 16px;
    height: 32px;
    font-size: 14px;
    margin-left: 8px;
  }

  .loading-text {
    text-align: center;
    color: #888;
    padding: 10px 0;
  }

  .finished-text {
    text-align: center;
    color: #bbb;
    padding: 10px 0;
  }

  /* 全局商品列表样式 */
  .goods-list {
    padding: 0 10px 70px 10px;
  }

  .goods-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
  }

  .goods-card {
    width: 48%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
  }

  .goods-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
  }

  .goods-info {
    flex: 1;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .goods-tags {
    margin-bottom: 4px;
  }

  .goods-tag {
    display: inline-block;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 8px;
    margin-right: 4px;
    margin-bottom: 2px;
    color: #fff;
  }

  .goods-tag.green { background: #4caf50; }
  .goods-tag.red { background: #f44336; }
  .goods-tag.orange { background: #ff9800; }
  .goods-tag.gold { background: #ffd700; color: #333; }

  .goods-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 2px;
    color: #222;
  }

  .goods-desc {
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
  }

  .goods-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .goods-price-line {
    display: flex;
    align-items: baseline;
    gap: 6px;
  }

  .price {
    color: #ff4d4f;
    font-size: 18px;
    font-weight: bold;
    margin-right: 6px;
  }

  .origin-price {
    color: #bbb;
    font-size: 12px;
    text-decoration: line-through;
  }

  .buy-btn {
    background: linear-gradient(90deg, #ffb3b3 0%, #ff4d4f 100%);
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 0 16px;
    height: 32px;
    font-size: 14px;
    margin-left: 8px;
  }

  .loading-text {
    text-align: center;
    color: #888;
    padding: 10px 0;
  }

  .finished-text {
    text-align: center;
    color: #bbb;
    padding: 10px 0;
  }
